import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import VueLazyload from "vue-lazyload"
// 导入axios，对axios进行原型挂载，方便后续使用
import axios from "@/http/request"
// 导入本地的图片
import load from "@/assets/loading.gif"
Vue.prototype.$http = axios
// axios.get()   =   this.$http.get()
// 加载插件VueLazyload
Vue.use(VueLazyload,{
    loading: load
})
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
